package model;

import tools.lineReader;
import tools.lineWriter;

public class test {//邬奕清用来测试第六部分功能的test
    public static void main(String[] args){
 order o = new order();
 String t1= o.readOrder();
 System.out.println(t1);
 passenger p = new passenger();
 String t2= p.readPassenger();
 System.out.println(t2);
 passenger_order po = new passenger_order();
String temp="360124200102040017";
        String t3= po.findOrder_line(temp);
        System.out.println(t3);
int t4 = po.orderNum(temp);
System.out.println(t4);
String t5 = po.findOrder(temp,1);
System.out.println(t5);
flight f = new flight();
String t6 =f.findFlight(t5);
System.out.println(t6);
eachFlight ef = new eachFlight();
String t7 =ef.boardingTime(t6);
System.out.println(t7);
        String t8 =ef.GATE(t6);
        System.out.println(t8);
        String t9 =ef.DEPARTURE(t6);
        System.out.println(t9);
        String t10 =ef.DESTINATION(t6);
        System.out.println(t10);
        String t11 =ef.DEPARTS(t6);
        System.out.println(t11);
        String t12 =ef.ARRIVES(t6);
        System.out.println(t12);
        String t13 =ef.DELAY(t6);
        System.out.println(t13);
        int t14 =ef.seat(t6,"seatA","01");
        System.out.println(t14);
        ef.seat_choose(t6,"seatA","01");
        f.add_food(t5,"Standard");
        f.add_seat(t5,"seatA","01");
        String t15 = po.findSurname(temp);
        System.out.println(t15);
        String t16 = ef.COMPANY(t6);
        System.out.println(t16);
        int t17 = o.isOrder("1326854870744");
        System.out.println(t17);
        int t18 = p.isPassenger("360124200102040017");
        System.out.println(t18);
        int t19 = po.isSurname("360124200102040017","Wu");
        System.out.println(t19);
        String t20 = ef.IMG(t6);
        System.out.println(t20);
        String t21 = po.find_id_num("1326854870744");
        System.out.println(t21);

    }
}
